package cm.com.carlamanda.dao;

import java.util.List;
import java.util.Map;

import cm.com.carlamanda.domain.Interface;
import cm.com.carlamanda.dto.InterfaceDto;

/**
 * @author jiefanzhang
 *
 */
public interface InterfaceDAO {
     InterfaceDto getInterface(String id) ;
     int updateInterface(Interface inter);
     int insertInterface(Interface inter);
     int deleteInterfaceById(String id);
     List<InterfaceDto> searchInterfaces(Map<String,Object> map);
     int searchInterfacesCount(Map<String,Object> map);
     int updateModuleId(Map<String,Object> map);
     void batchInsertInterface(List<Interface> list);
     void batchInsertParam(Interface inter);
}
